#ifndef CONFIGDIALOG_H
#define CONFIGDIALOG_H

#include <QDialog>


namespace Ui {
class ConfigDialog;
}

class ConfigDialog : public QDialog
{
    Q_OBJECT

public:
    explicit ConfigDialog(QWidget *parent = 0);
    ~ConfigDialog();

    Ui::ConfigDialog* getUi();

    //Controle
    bool confirmation;

    //Variáveis de configuração inicial
    //Da Control
    double pumpOutput;
    double tap1Output;
    double tap2Output;
    time_t timeToClearWt1;
    time_t timeToClearWt2;
    //Da WaterTank
    double capacityWt1;
    double capacityWt2;
    double areaWt1;
    double areaWt2;
    double inicialLevel1;
    double inicialLevel2;
    double heightWt1;
    double heightWt2;
    double standartLevelWt1;
    double standartLevelWt2;
    double gaugeInWt1;
    double gaugeInWt2;
    double gaugeOutWt1;
    double gaugeOutWt2;

private slots:
    void on_buttonBox_accepted();

    void on_buttonBox_rejected();

private:
    Ui::ConfigDialog *conf;
};

#endif // CONFIGDIALOG_H
